<?php
    /**
     * aheadWorks Co.
     *
     * NOTICE OF LICENSE
     *
     * This source file is subject to the EULA
     * that is bundled with this package in the file LICENSE.txt.
     * It is also available through the world-wide-web at this URL:
     * http://ecommerce.aheadworks.com/LICENSE-M1.txt
     *
     * @category   AW
     * @package    AW_Vidtest
     * @copyright  Copyright (c) 2010 aheadWorks Co. (http://www.aheadworks.com)
     * @license    http://ecommerce.aheadworks.com/LICENSE-M1.txt
     */
?>
<?php if ($this->isAuth()): ?>
    <strong style="color: green;"><?php echo $this->__('Authenticated'); ?></strong>&nbsp;
    <a href="<?php echo $this->getRevokeAccessTokenUrl(); ?>"><?php echo $this->__('Revoke Access Token'); ?></a>
<?php else: ?>
    <strong style="color: red;"><?php echo $this->__('Not authenticated'); ?></strong>&nbsp;
    <a href="<?php echo $this->getAccessTokenUrl(); ?>"><?php echo $this->__('Get Access Token'); ?></a>
<?php endif; ?>
